home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-07-05 | 3.1 KB | 148 lines |
- /***************************************************************************
- * @(#) Imakefile 9.3 93/06/23 SCOINC
- *
- * Copyright (c) 1990-1993 The Santa Cruz Operation, Inc.
- *
- * All rights reserved. No part of this program or publication may be
- * reproduced, transmitted, transcribed, stored in a retrieval system,
- * or translated into any language or computer language, in any form or
- * by any means, electronic, mechanical, magnetic, optical, chemical,
- * biological, or otherwise, without the prior written permission of:
- *
- * The Santa Cruz Operation , Inc. (408) 425-7222
- * 400 Encinal St., Santa Cruz, California 95060 USA
- *
- * SCO MODIFICATION HISTORY
- *
- **************************************************************************/
- /*
- * S003, 21-Sep-93, rickra
- * added -lmnt to the LOCAL_LIBRARIES....
- *
- * S002, 18-Aug-93, toma
- * added InstallAppDefaults(Xsw)
- * S001, 01-Jan-93, rickra
- *
- * Added psmem, pscpu, and psio to SCRS1 and OBJS1 lists
- *
- * S000, 01-Oct-92, rickra
- *
- * Added -XSW32v5 DEFINE variable for 32v5 streams work....
- */
- TOP = ../..
- DESTDIR = /usr/skunk
- BINDIR = /bin/X11
- MANDIR = /man/man.1
- MANSUFFIX = 1
- XAPPLOADDIR = /lib/X11/app-defaults
- LIBDIR = /lib/X11
- DEFINES = -DXSW32v5 -belf
- LDOPTIONS = -belf -dy
- INCLUDES = -I.
- #LOCAL_LIBRARIES = XmClientArchiveLibs -lX11 -lmnt
- LOCAL_LIBRARIES = XmClientLibs -lmnt
-
- SRCS1 = \
- xsw.c \
- condis.c \
- sepwin.c \
- update_d.c \
- xprocs.c \
- scales.c \
- buttons.c \
- util.c \
- colorhelp.c \
- disp_info.c \
- sysinfo.c \
- mystreams.c \
- nfsstat.c \
- tune.c \
- devstats.c \
- diskspace.c \
- menus.c \
- bootinfo.c \
- var.c \
- miscvbt.c \
- proc.c \
- ps.c \
- pscpu.c \
- psmem.c \
- psio.c \
- exits.c \
- help.c
-
- OBJS1 = \
- xsw.o \
- condis.o \
- sepwin.o \
- update_d.o \
- xprocs.o \
- scales.o \
- buttons.o \
- util.o \
- colorhelp.o \
- disp_info.o \
- sysinfo.o \
- mystreams.o \
- nfsstat.o \
- tune.o \
- devstats.o \
- diskspace.o \
- menus.o \
- bootinfo.o \
- var.o \
- miscvbt.o \
- proc.o \
- ps.o \
- pscpu.o \
- psmem.o \
- psio.o \
- exits.o \
- help.o
-
- OBJS2 = xswsrv.o \
- leave.o \
- libkmem.o \
- libmem.o \
- libswap.o
-
- SRCS2 = $(OBJS2:.o=.c)
-
- PROGRAMS = xsw xswsrv
-
- ComplexProgramTarget_1(xsw,$(LOCAL_LIBRARIES),$(SYSLIBS))
- ComplexProgramTarget_2(xswsrv,$(LOCAL_LIBRARIES),$(SYSLIBS))
-
- xswgct:
- cp gct-ctrl.xsw gct-ctrl;
- gct-init;
- $(MAKE) xsw "CC=gct -DTESTING -DMAXSIG=32 -DSIGQUIT=3 -DSIGTRAP=5 -DSIGIOT=6 -DSIGEMT=7 -DSIGBUS=10 -DSIGSYS=12"
- $(CC) -c gct-write.c
- $(CC) -c gct-ps-defs.c
- $(MAKE) xsw "OBJS=$(OBJS) gct-ps-defs.o gct-write.o"
- grestore
-
- xswgctclean:
- -@/bin/rm -f *.o xsw core
- -@/bin/rm -fr __gct-macros gct-defs.h gct-map gct-ps-defs.*
- -@/bin/rm -fr gct-rscript* gct-write.c xswLOG
-
- xswsrvgct:
- cp gct-ctrl.xsws gct-ctrl;
- gct-init;
- $(MAKE) xswsrv "CC=gct -DTESTING -DMAXSIG=32 -DSIGQUIT=3 -DSIGTRAP=5 -DSIGIOT=6 -DSIGEMT=7 -DSIGBUS=10 -DSIGSYS=12"
- $(CC) -c gct-write.c
- $(CC) -c gct-ps-defs.c
- $(MAKE) xswsrv "OBJS1=$(OBJS1) gct-ps-defs.o gct-write.o"
- grestore
-
- xswsrvgctclean:
- -@/bin/rm -f *.o xswsrv core
- -@/bin/rm -fr __gct-macros gct-defs.h gct-map gct-ps-defs.*
- -@/bin/rm -fr gct-rscript* gct-write.c xswsrvLOG
-
- DependTarget()
- InstallAppDefaults(Xsw)
-
- install:: install.man
-